/*
 * Tracker.hpp
 *
 *  Created on: Dec 29, 2014
 *      Author: wasp
 */

#ifndef TRACKER_HPP_
#define TRACKER_HPP_

class QTime;

namespace de
{
namespace heimweghelden
{
namespace location {
    class Route;
}
namespace tracking
{

class Tracker: public QObject
{ Q_OBJECT
public:
    Tracker(QObject* parent);
    ~Tracker();
public Q_SLOTS:
    void exceeded(int warnlevel, int seconds, double lat, double lon);
    void arrived();
    void start(de::heimweghelden::location::Route* route);
private:
    double latStart;
    double lonStart;
    double latDest;
    double lonDest;
    int estimatedTime;
};

} /* namespace tracking */
} /* namespace heimweghelden */
} /* namespace de */

#endif /* TRACKER_HPP_ */
